- 
		Home
	
 
	- 
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
 
- 
2.20.3
 
- 
Code
 
- 
Classes
 
-  RequestService 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											58 | 
										
																			
											| Dependencies | 
											6 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											411 | 
										
																			
											| Lines of code | 
											174 | 
										
																			
											| Logical lines of code | 
											106 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											175 | 
										
																			
											| Methods | 
											15 | 
										
																			
											| Properties | 
											7 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| makeUncachedRequest() | 
									B  | 
																	38 | 
													19 | 
													65 | 
							
					
				| parseArgs() | 
									A  | 
																	55 | 
													8 | 
													20 | 
							
					
				| shouldFindCache() | 
									S  | 
																	61 | 
													7 | 
													12 | 
							
					
				| makeRequest() | 
									S  | 
																	56 | 
													6 | 
													19 | 
							
					
				| respond() | 
									S  | 
																	62 | 
													4 | 
													11 | 
							
					
				| setResponseCacheStatus() | 
									S  | 
																	64 | 
													4 | 
													10 | 
							
					
				| __construct() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| setToken() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getBaseUrl() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| remoteRequest() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| post() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| put() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| patch() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| delete() | 
									S  | 
																	75 | 
													1 | 
													4 |